#ifndef NICKEL_SCRIPTCONTEXT_H_
#define NICKEL_SCRIPTCONTEXT_H_

#include "v8.h"

namespace nickel
{
	namespace core
	{
		using namespace v8;

		class ScriptContext
		{
		public:
			ScriptContext(void);
			~ScriptContext(void);
			void Compile();
			void Run();

		private:
			Handle<ObjectTemplate> CreateGlobalTemplate();
		};		
	}
}

#endif // NICKEL_SCRIPTCONTEXT_H_